#include "define.h"
int main(int argc, char *argv[]){
	cout << "Hello Stack!" << endl;
    string str;
    cin >> str;
    if(ParenCheck(str)) cout << "OK" << endl;
    return 0;
}
